python code for calculating probability of random variable

23

import math
print 0.5 * (1 + math.erf((x - mean)/math.sqrt(2 * standard_dev**2)))

Comments

Submit
0 Comments